import { ArgsType, Field, Int } from '@nestjs/graphql';
import { Min } from 'class-validator';

@ArgsType()
export class IdArg {
    @Field(type => Int)
    @Min(1)
    id: number;
}
